#include"queue.h"
int main()
{
	Queue pq;
	queueinit(&pq);
	queuepush(&pq, 1);
	queuepush(&pq, 2);
	queuepush(&pq, 3);
	queuepush(&pq, 4);
	while (!queueempty(&pq))
	{
		printf("%d ", queuefront(&pq));
		queuepop(&pq);
		
	}

	return 0;
}